﻿@model ProjectSearchModel
@{
    ViewBag.Title = "工程搜索";
}
@section BodyNav
{
    > @Html.ActionLink("工程列表", "List", "Project") > 工程查询
}
@section JS
{
    <script src="@Url.Content("~/Scripts/ProjectSearch.js")" type="text/javascript"></script>
}
@using (Html.BeginForm())
{
    <table class="window">
        <tr class="head">
            <th colspan="2">
                工程查询
            </th>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.Name)
            </th>
            <td>@Html.EditorFor(t => t.Name)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.EquipmentNO)
            </th>
            <td>@Html.EditorFor(t => t.EquipmentNO)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.EquipmentInspectNO)
            </th>
            <td>@Html.EditorFor(t => t.EquipmentInspectNO)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.CreatedStartDT)
            </th>
            <td>@Html.TextBoxFor(t => t.CreatedStartDT, new { @class = "widthHalf" })
                --
                @Html.TextBoxFor(t => t.CreatedEndDT, new { @class = "widthHalf" })
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.InspectStartDT)
            </th>
            <td>@Html.TextBoxFor(t => t.InspectStartDT, new { @class = "widthHalf" })
                --
                @Html.TextBoxFor(t => t.InspectEndDT, new { @class = "widthHalf" })
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(t => t.Destory)
            </th>
            <td>@Html.DropDownListFor(t => t.Destory, ViewBag.Destory as IList<SelectListItem>, "请选择", null)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="提交" class="btnBtn" />
            </td>
        </tr>
    </table>
}